DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomImageCollection Class / Read Method / Read(Byte[]) Method
Array of Bytes to read



In This Topic
    Read(Byte[]) Method
    In This Topic
    Creates and adds a DicomImage from a byte array
    Syntax
    'Declaration
     
    
    Public Overloads Function Read( _
       ByVal Array() As Byte _
    ) As DicomImage
    'Usage
     
    
    Dim instance As DicomImageCollection
    Dim Array() As Byte
    Dim value As DicomImage
     
    value = instance.Read(Array)
    public DicomImage Read( 
       byte[] Array
    )
    public:
    DicomImage^ Read( 
       array<byte>^ Array
    ) 

    Parameters

    Array
    Array of Bytes to read

    Return Value

    If successful, a DicomImage Object is returned, and is added to the appropriate collection. If unsuccessful, an appropriate error is thrown.
    Remarks
    This method uses memory stream to read a byte array and creates a new DicomImage and adds it to the DicomImageCollection.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also